package com.fanco.learn_datastruct_leetcode.reflection.cglib;

import com.fanco.learn_datastruct_leetcode.reflection.proxy_jdk.SomeServiceImpl;

/**
 * @author qiaowang 2021/4/16
 */
public class TestCglib {
    public static void main(String[] args) {
        SomeServiceImpl proxy = (SomeServiceImpl)new CglibProxyInterceptor().getProxy(SomeServiceImpl.class);
        proxy.eat("哈哈哈哈");
    }
}
